package com.sundi.ecgeneralize.service;

import com.sundi.ecgeneralize.dto.CouponDto;
import com.sundi.ecgeneralize.entity.EcCoupon;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 优惠券信息及规则表 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
public interface IEcCouponService extends IService<EcCoupon> {
    List<EcCoupon> selectConponList(CouponDto couponDto);
    void updAndDel(Integer id);
    EcCoupon getCoupon(@Param("id") Integer id);
}
